<%@include file="/pages/include/tag_include.jsp"%>
<%@include file="/pages/include/base_context.jsp"%>
<div class="container">
    <%@include file="/pages/include/message_display_include.jsp"%>

    <s:set name="events" value="form" scope="request"/>
    <display:table  name="events" class="table table-striped"
                    pagesize="${events.objectsPerPage}"  partialList="true" size="${events.fullListSize}"
                    requestURI="/event/list.do"
                    >
        <display:column property="name"  title="Description" href="/coms-war/event/maintain.do" paramId="form.event.id" paramProperty="id"/>
        <display:column property="topic"  title="Topic" />
        <display:column property="location"  title="Location" />
        <display:column property="startDate" title="Start Time" />
        <display:column property="endDate" title="End Time" />
        <display:column property="price"  title="Cost (S$)" />
    </display:table>

<br/><br/>
    <a href="<s:url value="/conference/list.do"/>" class="btn btn-danger"><s:text name="Back"/></a>
    <a href='<s:url value="/event/create.do" />?form.event.conferenceId=<s:property value="%{form.event.conferenceId}"/>' class="btn btn-success"><s:text name="create"/></a>

</div>
